package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppFamilyIdentityDao;
import com.vf.admin.client.service.AppFamilyIdentityService;
import com.vf.admin.miaodong.entity.AppFamilyIdentity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppFamilyIdentityServiceImpl implements AppFamilyIdentityService {

    @Autowired
    private AppFamilyIdentityDao appFamilyIdentityDao;

    @Override
    public List<AppFamilyIdentity> getIdentityList(Integer type) {
        return appFamilyIdentityDao.getIdentityList(type);
    }

    @Override
    public AppFamilyIdentity get(Integer id) {
        return appFamilyIdentityDao.get(id,AppFamilyIdentity.class);
    }
}
